package com.hdax.dm.common.api;

import com.hdax.dm.order.DmOrder;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public interface OrderControllerApi {

    @PostMapping(path = "orderid")
    List<DmOrder> orders(@RequestParam("orderNo")String orderNo);
}
